/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Interface.java to edit this template
 */
package com.yxw.yxnet_cd_center.customer_service.service;

import com.yxw.yxnet_cd_center.customer_service.entity.YxcscClientFiledServiceEntity;
import com.alibaba.fastjson.JSONObject;
import com.yxw.yxnet_cd_center.customer_service.vo.MemberVo;
/**
 * Mqtt对象封装
 * @author hjx
 * @date 2023.09.22
 */
public interface IMqttObjectService {
    /*** 
    * 系统通知
    * @param oYxcscClientFiledServiceEntity
    * @param notifiType 通知类别
    * @param customerId 客服Id
    * @return BaseResult
    **/
    public JSONObject MqttSystemNotification(YxcscClientFiledServiceEntity oYxcscClientFiledServiceEntity,String notificationType,String customerId,String msg);
    /*** 
    * 系统事件
    * @param oYxcscClientFiledServiceEntity
    * @param eventType 通知类别
    * @param customerId 客服Id
    * @return BaseResult
    **/
    public JSONObject MqttSystemEvent(YxcscClientFiledServiceEntity oYxcscClientFiledServiceEntity,String eventType,MemberVo oRecvMemberVo,String msg);
    
     /*** 
    * 客户发送聊天记录给客服
    * @param sendTalkMsgByClient
    * @return BaseResult
    **/
    public JSONObject sendTalkMsgByClient(String channelCode,String portCode,String shopId,String Recv,String notificationType,String msg);

}
